package cn.com.thinvent.dispatch.dao;

import cn.com.thinvent.dispatch.dao.base.BaseMapper;
import cn.com.thinvent.dispatch.entity.DataCleanAlgorithm;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DataCleanAlgorithmMapper extends BaseMapper<DataCleanAlgorithm> {
    List<DataCleanAlgorithm> queryByIds(@Param("algorithmActionIds") List<Integer> algorithmActionIds);
    Integer deleteById(@Param("id")Integer id);

    List<DataCleanAlgorithm> queryAllByLimit(@Param("dataCleanAlgorithm")DataCleanAlgorithm dataCleanAlgorithm,
                                             @Param("pageBegin")Integer pageBegin,
                                             @Param("pageSize")Integer pageSize);

    Long count(@Param("dataCleanAlgorithm") DataCleanAlgorithm dataCleanAlgorithm);
}
